home *** CD-ROM | disk | FTP | other *** search
- //
- // The Fusion Library Interface for DOS
- // Version 1.06c
- // Copyright (C) 1990, 1991, 1992
- // Software Dimensions
- //
- // BlazeClass
- //
-
- #include "fli.h"
-
- #ifdef __BCPLUSPLUS__
- #pragma hdrstop
- #endif
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // CopyArea()
- //
- // Copy an area of the display to another location
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- void BlazeClass::CopyArea(int X,int Y,int Width,int Height,int ToX,int ToY)
- {
- void *Screen = new char [ComputeNeededBytes(Width,Height)];
- GetArea(X,Y,Width,Height,Screen);
- PutArea(ToX,ToY,Screen);
- delete Screen;
- }
-
-